/**
 * 
 */
package de.cbf.cam.dsa.dataprovider.talents;

import java.util.ArrayList;
import java.util.List;

import de.cbf.cam.dsa.model.base.TalentTmpl;
import de.cbf.cam.dsa.model.interfaces.IDataProviderTalents;

/**
 * @author Nebelritter
 *
 */
public class DataProviderTalents implements IDataProviderTalents {

	private final String name = "TalentProvider";
	/**
	 * 
	 */
	public DataProviderTalents() {
	}

	/* (non-Javadoc)
	 * @see de.cbf.cam.dsa.model.interfaces.IDataProviderTalents#getName()
	 */
	@Override
	public String getName() {
		return name;
	}

	/* (non-Javadoc)
	 * @see de.cbf.cam.dsa.model.interfaces.IDataProviderTalents#providerTalentTemplates()
	 */
	@Override
	public List<TalentTmpl> providerTalentTemplates() {
		List<TalentTmpl> resultList = new ArrayList<TalentTmpl>();
		
		resultList.addAll(TalentProviderWeapon.getInstance().provideWeaponTalents());
		
		resultList.addAll(TalentProviderBody.getInstance().provideBodyTalents());
		
		resultList.addAll(TalentProviderSociety.getInstance().provideSocietyTalents());
		
		resultList.addAll(TalentProviderNature.getInstance().provideNatureTalents());
		
		resultList.addAll(TalentProviderKnowledge.getInstance().provideKnowledgeTalents());
		
		resultList.addAll(TalentProviderHandcraft.getInstance().provideHandcraftTalents());
		
		resultList.addAll(TalentProviderMeta.getInstance().provideMetaTalents());
		
		return resultList;
	}
}
